package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.WeakHashMap;
@Getter@Setter
public class Employeeinfo {
    private Long id;
    private Integer workerNumber;//工号
    private String name;//真实名字
    private Department department;//部门
    private String title;//职务
    private String job;//岗位
    private Boolean gender;//性别
    private String national;//籍贯
    private String idcard;//身份证号码
    private Integer educationId;//学历
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date birthday;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date hiretime;
    private Integer age;
    private Integer marryId;//婚否
    private String tel;//电话
    private String address;//地址
    private Integer employment;//聘用形式

    

}
